package com.ef.service;

import java.util.List;

import com.ef.domain.UserTodoEvent;
import com.ef.util.CustomExample;
import com.ef.util.PaginationSupport;

public interface TodoEventService extends BaseService {

	public PaginationSupport<UserTodoEvent> findByExample(
			CustomExample<UserTodoEvent> example, int startIndex, int pageSize);
	
	public void saveOrUpdate(UserTodoEvent entity);
	
	public void delete(UserTodoEvent entity);
	
	public UserTodoEvent findById(Long id);
	
	public List<UserTodoEvent> findAll();
	
	public void refreshEvent();
	
	public int countTodo(CustomExample<UserTodoEvent> example);
	
}
